package com.example.activityservice.controller;


import com.example.feignservice.service.UserClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/activity")
public class ActivityController {

    @Resource
    private UserClient userClient;

    @GetMapping("/test")
    public String test(){
        return userClient.test();
    }


}
